<?php
	$link=@mysqli_connect('localhost','root','root','good');
	$sql='select * from good';
	
	$result=mysqli_query($link,$sql);
	$row=mysqli_fetch_assoc($result);
	echo $row['id'];
	// forEach ($row as $v){
	// 	echo $v['id'];		
	// }

?>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>Document</title>
</head>
<body>
	
</body>
</html>